// Fireworks JavaScript Command // Install by copying to Fireworks/Configuration/Commands/ // Aaron Beall - http://abeall.com function CloseAllSavedDocuments(){ var savedDocs = false; for(var i=0; i= 0; i--){ if(fw.documents[i].isDirty)continue; fw.setActiveWindow(fw.documents[i], true); fw.documents[i].makeActive(); fw.documents[i].close(false); } return true; } CloseAllSavedDocuments();